import { coverGlobal } from '@swda/utils'

function Window_FileCoverConfirm() {
    this.initialize.apply(this, arguments);
}

Window_FileCoverConfirm.prototype = Object.create(SWDA_Window_Command_4Arrows.prototype);
Window_FileCoverConfirm.prototype.constructor = Window_FileCoverConfirm;

Window_FileCoverConfirm.prototype.initialize = function() {
    SWDA_Window_Command_4Arrows.prototype.initialize.call(this, 0, 0);
    this.createButtons('MenuButton_YN', 808, 477);
    this.select(1);
    //this.updatePlacement();
    //this.openness = 0;
    //this.open();
};

Window_FileCoverConfirm.prototype.windowWidth = function() {
    return 240;
};


Window_FileCoverConfirm.prototype.makeCommandList = function() {
    this.addCommand('', '', false);
    this.addCommand(TextManager.toTitle, 'toTitle');
    this.addCommand('', '', false);
    this.addCommand(TextManager.cancel,  'cancel');
};

coverGlobal('Window_FileCoverConfirm', Window_FileCoverConfirm)